<?php
namespace Common\Model;

/**
 * 微预定推荐标签资源表
 * @modify trainyao 2016-04-29 创建
 * @index none
 */

Class SpecialTagModel extends BaseModel
{
    protected $trueTableName = 'bp_special_tag';

    /**
     * 获取所有标签
     * @modify trainyao 2016-04-29    创建
     * @return array   标签信息数组
     */
    public function getInfo() {
        $option = array(
            'isdelete' => NOT_DELETE,
        );

        $data = $this->where($option)->select();
        return empty($data) ? array() : $data;
    }

}